package it.marcomondini.proximitytools;

import android.app.Application;
import android.widget.Toast;

public class MyApplication extends Application {

    private static MyApplication myApplication;

    public MyApplication() {
	myApplication = this;
    }

    public static MyApplication getInstance() {
	return myApplication;
    }

    public static void toastFactory(String message) {
	Toast.makeText(myApplication, message, Toast.LENGTH_SHORT).show();
    }

}
